package cn.csust.net2.manager.shared.po;

import java.io.Serializable;
import java.util.Date;

import cn.csust.net2.manager.shared.vo.UserProperty;
import cn.csust.net2.manager.shared.xml.XmlInfo;
import cn.csust.net2.manager.shared.xml.XmlResources;

import com.extjs.gxt.ui.client.data.BeanModelTag;

public class TeacherReward extends PO implements Serializable,BeanModelTag, UserProperty {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1549105933396942606L;
	
	private Integer teacherRewardID;
	private String rewardName;
	private String winningLevel;
	private String rewardLevel;
	private Date date;
	private String remark;
	
	private User user;
	
	public TeacherReward() {
		
	}
	
	public Integer getTeacherRewardID() {
		return teacherRewardID;
	}

	public void setTeacherRewardID(Integer teacherRewardID) {
		this.teacherRewardID = teacherRewardID;
	}

	public String getRewardName() {
		return rewardName;
	}

	public void setRewardName(String rewardName) {
		this.rewardName = rewardName;
	}

	public String getWinningLevel() {
		return winningLevel;
	}

	public void setWinningLevel(String winningLevel) {
		this.winningLevel = winningLevel;
	}

	public String getRewardLevel() {
		return rewardLevel;
	}

	public void setRewardLevel(String rewardLevel) {
		this.rewardLevel = rewardLevel;
	}

	public Date getDate() {
		return date;
	}

	public void setDate(Date date) {
		this.date = date;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	@Override
	public XmlInfo getXmlInfo(XmlResources instance) {
		// TODO Auto-generated method stub
		XmlInfo xmlInfo = new XmlInfo();
		xmlInfo.setTextResource(instance.teacherReward());
		return xmlInfo;
	}

	@Override
	public String getDisplayName() {
		// TODO Auto-generated method stub
		return null;
	}

}
